(function(){
  'use strict';

  angular.module('gallery')
         .config(['$routeProvider', '$locationProvider', GalleryRoutes]);

  function GalleryRoutes($routeProvider, $locationProvider, $q){
    $routeProvider
      .when('/gallery', {
        templateUrl: '/src/pages/gallery/view/content.html',
        controller: 'GalleryController',
        controllerAs: 'page'
      });
  }

})();
